﻿using System.ComponentModel;

namespace DevelopmentKit.Cms.Domain
{
    /// <summary>
    /// 内容状态
    /// </summary>
    public enum ContentState
    {
        /// <summary>未知状态.</summary>
        [Description("未知状态")]
        None = 0,
        /// <summary>新建.</summary>
        [Description("新建")]
        New = 1,
        /// <summary>草稿.</summary>
        [Description("草稿")]
        Draft = 2,
        /// <summary>等待发布.</summary>
        [Description("等待发布")]
        Waiting = 4,
        /// <summary>已发布.</summary>
        [Description("已发布")]
        Published = 16,
        /// <summary>未发布.</summary>
        [Description("未发布")]
        Unpublished = 32,
        /// <summary>删除状态.</summary>
        [Description("删除状态")]
        Deleted = 64,
        /// <summary>等待审核.</summary>
        [Description("等待审核")]
        Pending = 128,
        /// <summary>审核未通过.</summary>
        [Description("审核未通过")]
        ReviewWithout = 256,
        /// <summary>下线.</summary>
        [Description("下线")]
        Referral = 512
    }
}